package com.yuanian.timingwheel.model.task;

/**
 * 任务状态
 */
public enum TaskStatus {

     IDB(0, "被持久化"), LOADED(1, "被加载"), WAITING(2, "在等待执行"), RUNNING(3, "在执行"), HANDLED(4, "已处理");

    private int value;
    private String desc;

    TaskStatus(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

}
